<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>付款的二维码</title>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery.qrcode.min.js"></script>
<style>
	.qrcode {
		width:200px;
		margin:0 auto;
		margin-top:50px;
	}
</style>
</head>
<body>
<input id="oid" type="hidden" value="<s:property value="oid"/>"/>
<div id="qrcode" class="qrcode">
</div>
<script type="text/javascript">
	var url = "http://127.0.0.1:8080/eastshop/order_updateState.action?oid="+$("#oid").val();
	jQuery('#qrcode').qrcode({width: 200,height: 200,correctLevel:0,text: url});
</script>
</body>
</html>

